package com.webcash.CNBoard.Service;

import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.webcash.CNBoard.Model.Department;
import com.webcash.CNBoard.Model.Team;
import com.webcash.CNBoard.Repository.DepartmentTeamRepository;

@Service
public class DepartmentTeamServiceImpl extends SqlSessionDaoSupport implements DepartmentTeamService{
	@Autowired
	DepartmentTeamRepository teamrepository;

	public List<Team> getTeamListbyDeptNo(int deptNo) {
		return teamrepository.getTeamListbyDeptNo(deptNo);
	}

}
